package com.ssy.lingxi.product.repository.warehouse;

import com.ssy.lingxi.product.entity.warehouse.FreightSpaceAllotLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 仓位调拨记录
* @author wrc
* @date 2020/7/8
*/
@Repository
public interface FreightSpaceAllotLogRepository extends JpaRepository<FreightSpaceAllotLog, Long> {

    /**
    * 根据仓位ID查询仓位调拨记录
    * @author wrc
    * @date 2020/7/8
    */
    List<FreightSpaceAllotLog> findAllByFreightSpaceIdEquals(Long freightSpaceId);

}
